package edu.zut.pioneer.stock.impl;

import edu.zut.pioneer.base.service.impl.BaseTreeManagerImpl;
import edu.zut.pioneer.stock.StockTypeManager;
import edu.zut.pioneer.stock.dao.StockTypeDao;
import edu.zut.pioneer.stock.domain.StockType;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("stockTypeManager")

public class StockTypeManagerImpl extends BaseTreeManagerImpl<StockType,Long> implements StockTypeManager {
    StockTypeDao stockTypeDao;

    @Autowired
    public void setStockTypeRep(StockTypeDao stockTypeDao) {
        this.stockTypeDao = stockTypeDao;
        this.dao = this.stockTypeDao;
    }
}
